#pragma once

#include "../umlmodel_global.h"

#include "ControlNode.h"

namespace uml {

/// <summary>
/// FinalNode
/// A FinalNode is an abstract ControlNode at which a flow in an Activity stops.
/// </summary>
class UMLMODEL_EXPORT FinalNode : public ControlNode {

public: // Constructors and destructors
    explicit FinalNode(const QString& umlType="uml::FinalNode");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
